package com.scnb.Strategy;

public class CatHeightComparator implements Comparator<Cat> {

    @Override
    public int compare(Cat o1, Cat o2) {
        return o1.height - o2.height;
    }
}
